import Vue from "vue";
import Vuex from "vuex";
import list from './modules/list'
import home from './modules/home'
import persistedState from 'vuex-persistedstate'
Vue.use(Vuex);

export default new Vuex.Store({
  plugins: [
    persistedState({ storage: window.sessionStorage })
  ],
  modules: {
    list,
    home
  },
});
